﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QLZJFurnitureSCM.Model
{
    public class User
    {
        /*
        private int userId;
        private string userName;
        private string userPwd;*/
        //private UserRole userRole;
        public int UserRole { get; set; }
        public int UserId { get; set; }
        public string UserName { get; set; }
        public string UserPwd { get; set; }
        public string NickName { get; set; }

        /*
        public int UserId
        {
            get { return this.userId; }
            set { this.userId = value; }
        }

        public string UserName
        {
            get { return this.userName; }
            set { this.userName = value; }
        }

        public string UserPwd
        {
            get { return this.userPwd; }
            set { this.userPwd = value; }
        }

        public int UserRole
        {
            get { return this.userRole; }
            set { this.userRole = value; }
        }
        */
        
        public User(){}
        
        public User(string userName, string userPwd)
        {
            this.UserName = userName;
            this.UserPwd = userPwd;
        }


    }
}
